package com.zhong;

import com.zhong.filter.MappingFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

/**
 * @author zbg on 2019-02-13 14:46:04
 */
@EnableZuulProxy
@SpringBootApplication
public class ZuulApp {
    public static void main(String[] args){
        SpringApplication.run(ZuulApp.class, args);
    }

    @Bean
    public MappingFilter mappingFilter(){
        return new MappingFilter();
    }
}
